class AddNotes < ActiveRecord::Migration
  def self.up
      create_table :notes do |t|
          t.column :svalue, :string, :default => ''
          t.column :dvalue, :datetime
          t.column :bvalue, :bool, :default => false
          t.column :request_id, :integer, :null => false, :default => 0
	  t.column :note_type_id, :integer, :null => false, :default => 0
      end
  end

  def self.down
      drop_table :notes
  end
end
